<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        #parent{
            height:300px;
            border:2px solid #f00;
            display:flex;
            flex-flow:row wrap;
            justify-content:space-between;
            align-items:end;
        }
        .c1,.c2,.c3{
            width:200px;height:200px;
        }
        .c1{background:yellow;align-self:flex-end;}
        .c2{background:red;align-self:flex-start;}
        .c3{background:blue;align-self:flex-end;}
    </style>
</head>
<body>
    <div id="parent">
        <div class="c1" ></div>
        <div class="c2"></div>
        <div class="c3"></div>
    </div>
</body>
</html>